import axios from "axios"

export const role = (parmse) => axios.get('/api/role', parmse)
export const putRole = (data) => axios.put(`/api/role?${data}`)
export const menu = (roleID) => axios.get(`/api/role/menu/${roleID}`)
export const getAllMenu = () => axios.get(`/api/menu/`)
export const removeRole = (roleId) => axios.delete(`/api/role/${roleId}`)
